<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>淘票票影城系统</title>
    <link rel="stylesheet" th:href="@{/css/semantic.min.css}">
    <link rel="stylesheet" th:href="@{/css/admin.css}">
    <script type="text/javascript" th:src="@{/js/jquery-3.4.1.js}"></script>
    <script type="text/javascript" th:src="@{/js/semantic.min.js}"></script>
</head>
<body>
<div class="ui top attached  menu">
    <a class="ui item button"><i class="sidebar icon"></i>菜单 </a>
    <a th:href="@{/admin/logout}" class="right item"><i class="sign-out icon"></i>退出</a>
</div>
<div class="ui  sidebar inverted vertical menu">
    <div class="item">
        <h4 class="ui blue header">影城管理系统</h4>
    </div>
    <a th:href="@{/admin/index}" class="active item">首页</a>
    <a th:href="@{/admin/hall}" class="item">影厅管理</a>
    <a th:href="@{/admin/time}" class="item">排片管理</a>
    <a th:href="@{/admin/cinema}" class="item">影院管理</a>
    <a th:href="@{/admin/orders}" class="item">订单管理</a>
</div>
<div class="ui container">
    <h1>欢迎登录后台管理系统</h1>
</div>
<script>
    $(".ui.button").click(function () {
        $(".ui.sidebar")
            .sidebar({
                transition:'slide out'
            })
            .sidebar("toggle");
    });
</script>
</body>
</html>